﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web.wap
{
    public partial class SettlementAddr : BasePage
    {
        protected void Page_Load( object sender, EventArgs e )
        {
            Check();

            if (!IsPostBack)
            {
                BindAddress();
            }
        }

        protected void BindAddress( )
        {
            BLL.DeliveryAddr addrBLL = new BLL.DeliveryAddr();
            List<Model.DeliveryAddr> list = addrBLL.GetModelList("UserId=" + UserId + " order by DeliveryId desc");
            Repeater1.DataSource = list;
            Repeater1.DataBind();
        }
    }
}